package com.zs.backend.modules.orderLog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单记录表
 * </p>
 *
 * @author zs
 * @since 2024-03-25
 */
@Getter
@Setter
@TableName("order_log")
@ApiModel(value = "OrderLog对象", description = "订单记录表")
public class OrderLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("订单记录类型（1：订单打款审核2：打款申请记录3：回款记录）")
    private Integer operatitonType;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建人id")
    private Long operatitonUid;

    @ApiModelProperty("创建人名称")
    private String operatitonUname;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("金额")
    private BigDecimal amount;


}
